package org.ko.core.logic.auth;

import org.ko.core.domain.auth.User;
import org.ko.core.websupport.page.Page;

/**
 * 系统用户管理Svc接口
 * @author BQC
 * @version 2014-09-14 14:15:19
 */
public interface UserSvc {
	
	Page findPage(Page p,String searchText);
	User addDo(User bean);
	User editDo(User bean);
	User get(Long id);
	void delete(Long[] ids);
	
	/**
	 * 
	 * @param p
	 * @param bean
	 * @return
	 */
	Page findForSelect(Page p, String keyword);
	
	public User getByName(String name);
}